
user_input = input("Enter your mark for assessment 1: ").strip()

if not user_input.isdigit():
    print("The assessment mark needs to be an integer.")
else:
    mark = int(user_input)
    
    if mark < 0 or mark > 100:
        print("The assessment mark is not in the range 0 to 100.")
    else:
        if mark < 60:
            print(f"You received a Fail grade for the course due to not getting the minimum required mark.")
        elif 60 <= mark < 85:
            print(f"Congratulations, scoring {mark} gained you a Pass grade.")
        else:
            print(f"Well done! {mark} gained you a Merit!")
